package com.ayf.payment.game.api.service;

import com.ayf.payment.game.api.dto.ChannelTradeAmountRandomRuleDTO;

import java.math.BigDecimal;
import java.util.List;

public interface ChannelTradeAmountRandomRuleService{


    List<ChannelTradeAmountRandomRuleDTO> getChannelTradeAmountRandomRuleList(ChannelTradeAmountRandomRuleDTO channelTradeAmountRandomRuleDTO);

    void saveAndUpChannelTradeAmtRule(ChannelTradeAmountRandomRuleDTO channelTradeAmountRandomRuleDTO);

    void deleteChannelTradeAmtRuleById(Integer id);

    BigDecimal getChannelTradeAmountRandomRule(Integer payChannelId,BigDecimal checkAmt);
}
